<template>
    <div>
        <el-button @click="showDialog = true">测试图片上传</el-button>
        <ImageUploadDialog v-if="showDialog" @close="showDialog = false" />
    </div>
</template>

<script setup>
import { ref } from 'vue'
import ImageUploadDialog from '@/components/common/ImageUploadDialog.vue'
const showDialog = ref(false)
</script>